<?php
class TPasswordField extends TTemplateControl{
	public function getPassword() {
        $this->ensureChildControls();
        return $this->getRegisteredObject('Password');
    }
	public function getConfirmPassword() {
        $this->ensureChildControls();
        return $this->getRegisteredObject('ConfirmPassword');
    }
	public function getValidator() {
        $this->ensureChildControls();
        return $this->getRegisteredObject('Validator');
    }
	public function setSkinID($value){
		$this->Password->SkinID = $value;
		$this->ConfirmPassword->SkinID = $value;
		$this->Validator->SkinID = $value;
	}
	public function setValidationGroup($value){
		$this->Validator->ValidationGroup=$value;
		$this->Password->ValidationGroup=$value;
		$this->ConfirmPassword->ValidationGroup=$value;
	}
}
?>